<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tk="http://www.qdocuments.net" exclude-result-prefixes="tk">
  <xsl:import href="TreeDetailTemplate_Trans.xslt"/>
  <xsl:import href="DetailFrame.xslt"/>
  <xsl:output method="html" indent="no"/>
  <xsl:variable name="tk:AllResolvers" select="$tk:XmlFile/Toolkit/tk:Module/tk:Resolvers"/>
  <xsl:variable name="tk:MainResolver">
    <xsl:value-of select="$tk:AllResolvers/tk:Resolver/tk:RegName"/>
  </xsl:variable>
  <xsl:variable name="tk:Tables" select="$tk:AllXmlNodeSet[@RegName=$tk:MainResolver]"/>
  <xsl:variable name="tk:TreeID" select="$tk:Toolkit/_TREE_FIELDS/ID"/>
  <xsl:variable name="tk:TreeName" select="$tk:Toolkit/_TREE_FIELDS/NAME"/>
  <xsl:variable name="tk:TreeParentID" select="$tk:Toolkit/_TREE_FIELDS/PARENTID"/>
  <xsl:template match="/">
    <div style="position:relative; width:500; height:500px; z-index:1; overflow:auto; border:solid 0px #A09683; background-color:#FFFFFF" class="scrollBar">
      <table border="0" width="100%" cellpadding="0" cellspacing="0">
        <tr>
          <td colspan="4" bgcolor="#cccccc" height="1"/>
        </tr>
        <tr bgcolor="#EBF1F9" height="20">
          <td colspan="4">
            <img src="../images/empty.gif" border="0" width="5"/>
            <xsl:call-template name="tk:PageTitle"/>
          </td>
        </tr>
        <tr>
          <td colspan="4" bgcolor="#cccccc" height="1"/>
        </tr>
        <xsl:call-template name="tk:Content">
          <xsl:with-param name="Method" select="'Detail'"/>
        </xsl:call-template>
        <tr/>
        <tr>
          <td colspan="4" bgcolor="#cccccc" height="1"/>
        </tr>
        <tr>
          <td colspan="4" align="center" height="30" valign="bottom">
            <xsl:apply-templates select="$tk:XmlFile/Toolkit/tk:Module" mode="tk:Button"/>
          </td>
        </tr>
      </table>
    </div>
  </xsl:template>
  <xsl:template match="tk:Module" mode="tk:Button">
    <xsl:call-template name="tk:Button"/>
  </xsl:template>
</xsl:stylesheet>
